﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Service.Enums;
using WCS_Service.Interface;

namespace WCS_Service.Models.SerialNetModel
{
    /// <summary>
    /// 光通信协议
    /// </summary>
    public class OpticalInfoModel
    {
        /// <summary>
        /// 功能码
        /// </summary>
        public string funCode { get; set; }

        public OpticalMsgType type { get; set; }
        /// <summary>
        /// 请求编号
        /// </summary>
        public string number { get; set; }

        /// <summary>
        /// 发送端设备编码
        /// </summary>
        public string EqCode { get; set; }
        /// <summary>
        /// 数据内容长度
        /// </summary>
        public int dataLen { get; set; }
        /// <summary>
        /// 数据内容
        /// </summary>
        public string data { get; set; }
    }
}
